package net.isger.brick.raw.depot;

import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

import net.isger.brick.raw.Seed;

public class GsonSeed implements Seed {

    private String info;

    public GsonSeed(String info) {
        this.info = info;
    }

    public Object getEntity() {
        return info;
    }

    public InputStream getInputStream() throws IOException {
        return new ByteArrayInputStream(info.getBytes());
    }

    public OutputStream getOutputStream() throws IOException {
        return null;
    }

}
